ends_with

pure function ends_with(suffix: text): boolean

Checks if this text ends with the specified suffix.

Note that for all texts t, t.ends_with('') is true, and for all texts u and v such that u == v, u.ends_with(v) is true.

Return

true if this text ends with the specified suffix, false otherwise

Since

0.9.0

Parameters

suffix

the suffix to check